package com.gao.web.dao;

import com.gao.web.pojo.House;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseMapper {
    int insertHouse(House house);

    int updateHouse(House house);

    House selectById(int id);

    List<House> findHousename(@Param("id") String id, @Param("house_type") String house_type);

    List<House> findHouse(@Param("address") String id, @Param("house_type") String house_type);

    List<House> housefindAll();

    int update(House user);

    int delete(House user);
}
